home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / datalist / datalist.exe / %MAINDIR% / SAMPLES / Sample9 / LISTSA~2.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-09  |  1.1 KB  |  44 lines

  1. // ListSampleDlg.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CListSampleDlg dialog
  6.  
  7. class CListSampleDlg : public CDialog
  8. {
  9. // Construction
  10. public:
  11.     CListSampleDlg(CWnd* pParent = NULL);    // standard constructor
  12.  
  13. public:
  14.     //We Added this function to make getting the control easier
  15.     CGTList1* GetList(long ID = IDC_LIST1);
  16.  
  17.     void InitializeList();
  18.  
  19. // Dialog Data
  20.     //{{AFX_DATA(CListSampleDlg)
  21.     enum { IDD = IDD_LISTSAMPLE_DIALOG };
  22.         // NOTE: the ClassWizard will add data members here
  23.     //}}AFX_DATA
  24.  
  25.     // ClassWizard generated virtual function overrides
  26.     //{{AFX_VIRTUAL(CListSampleDlg)
  27.     protected:
  28.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  29.     //}}AFX_VIRTUAL
  30.  
  31. // Implementation
  32. protected:
  33.     HICON m_hIcon;
  34.  
  35.     // Generated message map functions
  36.     //{{AFX_MSG(CListSampleDlg)
  37.     virtual BOOL OnInitDialog();
  38.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  39.     afx_msg void OnPaint();
  40.     afx_msg HCURSOR OnQueryDragIcon();
  41.     //}}AFX_MSG
  42.     DECLARE_MESSAGE_MAP()
  43. };
  44.